home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 010 / blit.arc / BFREE.C < prev    next >
Encoding:
C/C++ Source or Header  |  1985-05-23  |  487 b   |  27 lines

  1. /*
  2.  * name:         bfree
  3.  *
  4.  * description: free the storage used by bitmap b.
  5.  *
  6.  * synopsis:     bfree (b)
  7.  *              struct bitmap   *b;
  8.  *
  9.  * globals:      none.
  10.  *
  11.  * calls:        free  (libc)
  12.  *
  13.  * called by:    newlayer  (newlayer.c)
  14.  *              dellayer   (dellayer.c)
  15.  */
  16. #include "layers.h"
  17.  
  18. bfree (b)
  19. struct bitmap *b;
  20. {
  21.  /*
  22.  * return storage for bitmap b from whence it came
  23.  */
  24.     free ((char *) b -> bm_base);
  25.    free ((char *) b);
  26. }
  27.